class SlideImage < ActiveRecord::Base

  has_attached_file :photo, :styles => { :home => "1170x520#", :list => "117x52#" }
  validates_attachment_content_type :photo, :content_type => /\Aimage\/.*\Z/

  default_scope order('listing_order')
end
